package com.lc.activiti.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @Title: WebSocketConfig
 * @Description:
 * @author: 骆超
 * @date: 2021/7/6 9:35
 */
@Configuration
public class WebSocketConfig {

    @Bean(name="serverEndpointExporter")
    public ServerEndpointExporter getServerEndpointExporterBean(){
        return new ServerEndpointExporter();
    }
}